* {
    margin: 0;
    padding: 0;
}
ul {
    list-style: none;
}
i {
    font-style:normal;
}
body {
    font-size: 14px;
    color: #333;
    background-color: #f7f7f7;
}
.container {
    width: 1220px;
    margin:auto;
}
.nav {
    background-color: #fff;
    padding: 20px;
}
.nav ul {
    display: grid;
    grid-template-columns: repeat(8,1fr);
    grid-template-rows:repeat(3,35px);
}
/* 图片展示区 */
.content {
    display:grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(4,150px);
    gap: 5px;
    /* margin: 0 5px; */
}
.items {
    position: relative;
}
.items img {
    width: 100%;
    height: 100%;
    /* 防止图片挤压变形 */
    object-fit: cover;
}
.item-1 {
    grid-row: 1/3;
    grid-column: 1/2;
}
.item-5 {
    grid-row: 2/4;
    grid-column: 3/4;
}
.item-7 {
    grid-row: 3/5;
    grid-column: 2/3;
}
.items .title {
    position: absolute;
    bottom: 25px;
    left: 10px;
    color: #fff;
}
.items .title h3 {
    font-weight: 500;
    font-size: 20px;
    margin: 15px 0;
}